package main

import (
	"gOrmTest/InitGorm"
	"gOrmTest/Models"
)

func main() {

	var user Models.User
	// 跳过软删除
	//InitGorm.Db.Unscoped().Where("name = ?", "").Delete(&user)
	InitGorm.Db.Where("name = ?", "").Delete(&user)
}
